#
# build the Recursive Descent Parser(RDP) in chapter 03
#

set(EXE_RDParser   rdparser)
file(GLOB_RECURSE  rdparser_c     *.c)
file(GLOB_RECURSE  rdparser_h     *.h)
add_executable(${EXE_RDParser}  ${rdparser_c} ${rdparser_h})
set_target_properties(${EXE_RDParser} PROPERTIES
        RUNTIME_OUTPUT_DIRECTORY          ${MY_BIN_PATH}
        RUNTIME_OUTPUT_DIRECTORY_DEBUG    ${MY_BIN_PATH}/DEBUG
        RUNTIME_OUTPUT_DIRECTORY_RELEASE  ${MY_BIN_PATH}/RELEASE
)
